package cn.com.miao.lynx.rpc.grpc.starter.constant;

/**
 * GrpcResponseStatus
 * grpc响应状态
 * @title: GrpcResponseStatus
 * @description:
 * @author: dengmiao
 * @create: 2019-12-25 15:44
 **/
public enum GrpcResponseStatus {

    SUCCESS(0), ERROR(-1);

    private int code;

    GrpcResponseStatus(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

}
